using System;

namespace PPIDesktopClient.Entities
{
	[Serializable]
	public class EVendor_Project
	{
		#region Miembros Privados
		Int32 m_Vendor_ProjectId;
		EVendor m_Vendor;
		string m_Name;
		DateTime m_ScheduledStartDate;
		DateTime m_ActualStartDate;
		DateTime m_ScheduledEndDate;
		DateTime m_ActualEndDate;
		double m_ScheduledCost;
		double m_ActualCost;
		EProjectType m_Type;
		EProjectStatus m_Status;
		#endregion Miembros Privados

		#region Propiedades
		public Int32 Vendor_ProjectId
		{
			get { return m_Vendor_ProjectId; }
			set { m_Vendor_ProjectId = value; }
		}
		public EVendor Vendor
		{
			get { return m_Vendor; }
			set { m_Vendor = value; }
		}
		public string Name
		{
			get { return m_Name; }
			set { m_Name = value; }
		}
		public DateTime ScheduledStartDate
		{
			get { return m_ScheduledStartDate; }
			set { m_ScheduledStartDate = value; }
		}
		public DateTime ActualStartDate
		{
			get { return m_ActualStartDate; }
			set { m_ActualStartDate = value; }
		}
		public DateTime ScheduledEndDate
		{
			get { return m_ScheduledEndDate; }
			set { m_ScheduledEndDate = value; }
		}
		public DateTime ActualEndDate
		{
			get { return m_ActualEndDate; }
			set { m_ActualEndDate = value; }
		}
		public double ScheduledCost
		{
			get { return m_ScheduledCost; }
			set { m_ScheduledCost = value; }
		}
		public double ActualCost
		{
			get { return m_ActualCost; }
			set { m_ActualCost = value; }
		}
		public EProjectType Type
		{
			get { return m_Type; }
			set { m_Type = value; }
		}
		public EProjectStatus Status
		{
			get { return m_Status; }
			set { m_Status = value; }
		}
		#endregion Propiedades

		#region Constructores
		#region summary
		/// <summary>
		/// Date: 04/28/2008
		/// Time: 12:03:45
		/// Generated by: VMCoder
		/// Generated using VirtualGenerator
		/// </summary>
		#endregion summary
		public EVendor_Project()
		{
			m_Vendor_ProjectId = Int32.MinValue;
            m_Type = new EProjectType();
            m_Status = new EProjectStatus();
            m_Vendor = new EVendor();

		}

		#region summary
		/// <summary>
		/// Date: 04/28/2008
		/// Time: 12:03:45
		/// Generated by: VMCoder
		/// Generated using VirtualGenerator
		/// </summary>
		#endregion summary
		public EVendor_Project(Int32 vendor_ProjectId)
			: this()
		{
			m_Vendor_ProjectId = vendor_ProjectId;

		}

        public EVendor_Project(Int32 vendor_ProjectId, string name)
            : this(vendor_ProjectId)
        {
            m_Name = name;

        }

        #region summary
        /// <summary>
        /// Date: 04/28/2008
        /// Time: 12:03:45
        /// Generated by: VMCoder
        /// Generated using VirtualGenerator
        /// </summary>
        #endregion summary
        public EVendor_Project(Int32 vendor_ProjectId, EVendor vendor, string name, DateTime scheduledStartDate, DateTime actualStartDate, DateTime scheduledEndDate, DateTime actualEndDate, double scheduledCost, double actualCost, EProjectType type, EProjectStatus status)
            : this(vendor_ProjectId)
        {
            m_Vendor = vendor;
            m_Name = name;
            m_ScheduledStartDate = scheduledStartDate;
            m_ActualStartDate = actualStartDate;
            m_ScheduledEndDate = scheduledEndDate;
            m_ActualEndDate = actualEndDate;
            m_ScheduledCost = scheduledCost;
            m_ActualCost = actualCost;
            m_Type = type;
            m_Status = status;

        }

		#endregion Constructores

	}
}

